package com.spring.transaction.service;

import com.spring.transaction.po.SpringUser;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @ClassName SpringUserService
 * @Description
 * @Author suncx
 * @Date 2020/9/21 15:24
 * @Version 1.0
 */
@Transactional(propagation = Propagation.REQUIRED)
public interface SpringUserService {
    void save(SpringUser user) throws Exception;
}
